package edu.ihs.lhpy.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class Institute  implements Serializable{
	private Long id;
	private String name;
	private String home_page;
	private String content;
	private String huibiao;
	private Date time;
	private String author;
	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	private Set<Teacher> teachers = new HashSet<Teacher>();
	private Set<News> newsList = new HashSet<News>();
	
	public Institute(){
		
	}

	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public String getHome_page() {
		return home_page;
	}
	public void setHome_page(String home_page) {
		this.home_page = home_page;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getHuibiao() {
		return huibiao;
	}
	public void setHuibiao(String huibiao) {
		this.huibiao = huibiao;
	}
	

	public Set<Teacher> getTeachers() {
		return teachers;
	}

	public void setTeachers(Set<Teacher> teachers) {
		this.teachers = teachers;
	}

	public Set<News> getNewsList() {
		return newsList;
	}

	public void setNewsList(Set<News> newsList) {
		this.newsList = newsList;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public Institute(Long id, String name, String home_page, String content,
			String huibiao, Date time, String author, Set<Teacher> teachers,
			Set<News> newsList) {
		super();
		this.id = id;
		this.name = name;
		this.home_page = home_page;
		this.content = content;
		this.huibiao = huibiao;
		this.time = time;
		this.author = author;
		this.teachers = teachers;
		this.newsList = newsList;
	}

	

	

	
	

}
